/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package actioncombination.logic.agent.action;

import actioncombination.problem.gridworld.AgentStateImpl;
import actioncombination.logic.agent.AgentState;
import actioncombination.logic.environment.EnvironmentState;
import actioncombination.logic.environment.RLEnvironmentState;


/**
 *
 * @author Administrador
 */
public class GoStraight extends ActionDirection {

    @Override
    public AgentState execute(AgentState s) {
        AgentStateImpl estado = (AgentStateImpl) s;
        
        //Implementar las formulas para devolver el proximo estado 
        //del agente con la nueva posicion
        return estado;
    }

    @Override
    public EnvironmentState execute(AgentState ast, EnvironmentState est) {
        RLEnvironmentState estado=(RLEnvironmentState) est;
        return estado;
    }

    @Override
    public Double getCost() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public String toString() {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
